package com.zidian.study.fragment;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.zidian.study.globa.BaseFragment;

import butterknife.Bind;
import butterknife.ButterKnife;
import com.zidian.student.trucks.R;

/**
 * Created by Administrator on 2016/8/27 0027.
 */
public class TaskSettingFragment extends BaseFragment {


    @Bind(R.id.back_btn)
    ImageView backBtn;
    @Bind(R.id.task_work_setting)
    LinearLayout taskWorkSetting;
    @Bind(R.id.task_setting_ways)
    LinearLayout taskSettingWays;

    @Override
    protected void initView(View view, Bundle savedInstanceState) {
        ButterKnife.bind(this, view);
        initView();
    }

    public void initView() {
        backBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                removeFragment();
            }
        });
    }


    @Override
    protected int getLayoutId() {
        return R.layout.fragment_task_setting;
    }


    public static TaskSettingFragment newInstance() {

        return new TaskSettingFragment();
    }


    @Override
    public void onDestroyView() {
        super.onDestroyView();
        ButterKnife.unbind(this);
    }
}
